package com.sxdz.models

import com.toolbox.utils.DateUtil;

import java.io.Serializable;

public class TOrder implements Serializable {
    private Long id;

    private Long userId;

    private String accountNo;

    private String intelligentNo;

    private String remarkName;

    private String goodsName;

    private String goodsType;

    private String goodsModule;

    private String accountDate;

    private Long totalFee;

    private Long payFee;

    private Integer goodsNum;

    private Long createTime;

    private Long payTime;

    private String payStatus;

    private String orderStatus;

    private String outTradeNo;

    private String expressName;

    private String expressNo;

    private String goodsTag;

    private Long couponFee;

    private String consigneePhone;

    private String consigneeAddress;

    private String consigneeName;

    private String companyName;

    private String invoiceType;

    private String feeType;

    private String payInfo;

    private String attach;

    private String bankType;

    private String tradeType;

    private String transactionId;

    private String bankBillNo;

    private String outTransactionId;

    private String timeEnd;

    private String gdResult;

    private String gdInfo;

    private String gdSerialNo;

    private Long gdTime;

    private String refundId;

    private String outRefundNo;

    private String refundChannel;

    private Long couponRefundFee;

    private Long refundFee;

    private String isActive;

    private String remark;

    private String reserve1;

    private String reserve2;

    private String reserve3;

    private String reserve4;

    private String payTimes;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getIntelligentNo() {
        return intelligentNo;
    }

    public void setIntelligentNo(String intelligentNo) {
        this.intelligentNo = intelligentNo;
    }

    public String getRemarkName() {
        return remarkName;
    }

    public void setRemarkName(String remarkName) {
        this.remarkName = remarkName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsModule() {
        return goodsModule;
    }

    public void setGoodsModule(String goodsModule) {
        this.goodsModule = goodsModule;
    }

    public String getAccountDate() {
        return accountDate;
    }

    public void setAccountDate(String accountDate) {
        this.accountDate = accountDate;
    }

    public Long getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Long totalFee) {
        this.totalFee = totalFee;
    }

    public Long getPayFee() {
        return payFee;
    }

    public void setPayFee(Long payFee) {
        this.payFee = payFee;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getPayTime() {
        return payTime;
    }

    public void setPayTime(Long payTime) {
        this.payTime = payTime;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getExpressName() {
        return expressName;
    }

    public void setExpressName(String expressName) {
        this.expressName = expressName;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public String getExpressNo2() {
        if(expressNo==null || expressNo==""){
            return "";
        }else{
            return "快递单号:"+expressNo;
        }

    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }

    public String getGoodsTag() {
        return goodsTag;
    }

    public void setGoodsTag(String goodsTag) {
        this.goodsTag = goodsTag;
    }

    public Long getCouponFee() {
        return couponFee;
    }

    public void setCouponFee(Long couponFee) {
        this.couponFee = couponFee;
    }

    public String getConsigneePhone() {
        return consigneePhone;
    }

    public void setConsigneePhone(String consigneePhone) {
        this.consigneePhone = consigneePhone;
    }

    public String getConsigneeAddress() {
        return consigneeAddress;
    }

    public void setConsigneeAddress(String consigneeAddress) {
        this.consigneeAddress = consigneeAddress;
    }

    public String getConsigneeName() {
        return consigneeName;
    }

    public void setConsigneeName(String consigneeName) {
        this.consigneeName = consigneeName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(String invoiceType) {
        this.invoiceType = invoiceType;
    }

    public String getFeeType() {
        return feeType;
    }

    public void setFeeType(String feeType) {
        this.feeType = feeType;
    }

    public String getPayInfo() {
        return payInfo;
    }

    public void setPayInfo(String payInfo) {
        this.payInfo = payInfo;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getBankType() {
        return bankType;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getBankBillNo() {
        return bankBillNo;
    }

    public void setBankBillNo(String bankBillNo) {
        this.bankBillNo = bankBillNo;
    }

    public String getOutTransactionId() {
        return outTransactionId;
    }

    public void setOutTransactionId(String outTransactionId) {
        this.outTransactionId = outTransactionId;
    }

    public String getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(String timeEnd) {
        this.timeEnd = timeEnd;
    }

    public String getGdResult() {
        return gdResult;
    }

    public void setGdResult(String gdResult) {
        this.gdResult = gdResult;
    }

    public String getGdInfo() {
        return gdInfo;
    }

    public void setGdInfo(String gdInfo) {
        this.gdInfo = gdInfo;
    }

    public String getGdSerialNo() {
        return gdSerialNo;
    }

    public void setGdSerialNo(String gdSerialNo) {
        this.gdSerialNo = gdSerialNo;
    }

    public Long getGdTime() {
        return gdTime;
    }

    public void setGdTime(Long gdTime) {
        this.gdTime = gdTime;
    }

    public String getRefundId() {
        return refundId;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    public String getOutRefundNo() {
        return outRefundNo;
    }

    public void setOutRefundNo(String outRefundNo) {
        this.outRefundNo = outRefundNo;
    }

    public String getRefundChannel() {
        return refundChannel;
    }

    public void setRefundChannel(String refundChannel) {
        this.refundChannel = refundChannel;
    }

    public Long getCouponRefundFee() {
        return couponRefundFee;
    }

    public void setCouponRefundFee(Long couponRefundFee) {
        this.couponRefundFee = couponRefundFee;
    }

    public Long getRefundFee() {
        return refundFee;
    }

    public void setRefundFee(Long refundFee) {
        this.refundFee = refundFee;
    }

    public String getIsActive() {
        return isActive;
    }

    public void setIsActive(String isActive) {
        this.isActive = isActive;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getReserve1() {
        return reserve1;
    }

    public void setReserve1(String reserve1) {
        this.reserve1 = reserve1;
    }

    public String getReserve2() {
        return reserve2;
    }

    public void setReserve2(String reserve2) {
        this.reserve2 = reserve2;
    }

    public String getReserve3() {
        return reserve3;
    }

    public void setReserve3(String reserve3) {
        this.reserve3 = reserve3;
    }

    public String getReserve4() {
        return reserve4;
    }

    public void setReserve4(String reserve4) {
        this.reserve4 = reserve4;
    }

    public String getPayTimes() {
        if(payTime!=null){
            this.payTimes=  DateUtil.formatDate(payTime,"YYYY-MM-dd HH:mm:ss")
          return payTimes;
        }else{
            return "";
        }


    }

    public void setPayTimes(String payTimes) {
        this.payTimes = payTimes
    }
}